package com.techysky.xsd;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;


@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "issueDateElemType")
public class IssueDate {

    @XmlAttribute(name = "year", required = true)
    protected String year;
    @XmlAttribute(name = "month", required = true)
    protected String month;
    @XmlAttribute(name = "day", required = true)
    protected String day;
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public String getDay() {
		return day;
	}
	public void setDay(String day) {
		this.day = day;
	}
	@Override
	public String toString() {
		return year + "-" + month + "-" + day ;
	}

}
